import Vue from 'vue'
import 'element-ui/lib/theme-chalk/index.css'
import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';

import {Button, Message, MessageBox, Backtop, Icon,  Form, FormItem,  Card, Table,
    TableColumn,  Select,
    Option,
    OptionGroup, Menu,
    Submenu,
    MenuItem,
    MenuItemGroup,
    Breadcrumb,
    Pagination,
    BreadcrumbItem,
    Input,
    InputNumber, Dialog, Link, Carousel,
    CarouselItem,CollapseItem,Collapse, Col, Avatar,Cascader,Image,
    InfiniteScroll, Steps, Alert, TabPane, Upload, Tabs, Step, Loading, Timeline, TimelineItem, Radio, RadioGroup, Badge, Dropdown, DropdownMenu, DropdownItem, Tag} from 'element-ui'

Vue.use(Button);
Vue.use(Backtop);
Vue.use(Icon);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Card);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Select);
Vue.use(Option);
Vue.use(OptionGroup);
Vue.use(Menu);
Vue.use(Submenu);
Vue.use(MenuItem);
Vue.use(MenuItemGroup);
Vue.use(Input);
Vue.use(InputNumber);
Vue.use(Dialog);
Vue.use(Link);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Col);
Vue.use(Avatar);
Vue.use(Cascader);
Vue.use(Image);
Vue.use(InfiniteScroll);
Vue.use(Steps);
Vue.use(Alert);
Vue.use(TabPane);
Vue.use(Upload);
Vue.use(Tabs);
Vue.use(Step);
Vue.use(Loading);
Vue.use(Timeline);
Vue.use(TimelineItem);
Vue.use(Radio);
Vue.use(RadioGroup);
Vue.use(Badge);
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Tag);
Vue.use(Breadcrumb);
Vue.use(BreadcrumbItem);
Vue.use(Pagination);

Vue.component(CollapseTransition.name, CollapseTransition)



Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm